package com.zmn.oms.common.dro.part;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @ClassName CheckOrderPartIndicatorsDRO
 * @description:
 * @author: wangyanci
 * @create: 2022-04-23 14:09
 * @Version 1.0
 **/
@Data
@ToString(callSuper = true)
public class CheckOrderPartIndicatorsDIO implements Serializable {

    @NotNull(message = "订单ID不能为空")
    @ApiModelProperty("订单ID")
    private Long orderId;

    @NotNull(message = "工单ID不能为空")
    @ApiModelProperty("工单ID")
    private Long worId;

    @NotNull(message = "配件集合不能为空")
    @ApiModelProperty("配件集合")
    private List<OrderPartDIO> partDIOList;

    @NotNull(message = "配件类型不能为空")
    @ApiModelProperty("配件类型 1.内采 2.外报 3.订单杂项费用")
    private Integer partType;
}